//主页面接口相关的函数
import request from "../../utils/request"


//组织架构
export const organized = (params) => {
    return request.get("/api/organized/index", { params })
}

//组织架构用户
export const organizedUsers = (params) => {
    return request.get("/api/organized/users", { params })
}
//查询组织架构用户
export const organizedUsersquery = (params) => {
    return request.get("/api/organized/users/show", { params })
}
//删除组织架构用户
export const delorganizedUsers = (data) => {
    return request.post("/api/organized/del_user", (data))
}
//添加照片分类
export const AddphotoClassifies = (data) => {
    return request.post("/api/photo_classifies/store", (data))
}
//获取照片分类
export const GetphotoClassifies = (params) => {
    return request.get("/api/photo_classifies/show", {params})
}
//编辑照片分类
export const DelphotoClassifies = (data) => {
    return request.post("/api/photo_classifies/update", (data))
}
//获取照片分类
export const photoClassifies = (params) => {
    return request.get("/api/photo_classifies/get_list", { params })
}
//获取照片列表
export const photoArchives = (params) => {
    return request.get("/api/photo_archives/index", { params })
}
//添加/编辑照片档案
export const AddphotoArchives = (data) => {
    return request.post("/api/photo_archives/edit", (data))
}
//查询照片档案
export const GetphotoArchives = (params) => {
    return request.get("/api/photo_archives/show", {params})
}
//删除照片档案
export const DelphotoArchives = (data) => {
    return request.post("/api/photo_archives/destroy", (data))
}
//获取卷内目录
export const photoCatalogs = (params) => {
    return request.get("/api/photo_catalogs/index", { params })
}
//新增卷内目录
export const AddphotoCatalogs = (data) => {
    return request.post("/api/photo_catalogs/edit", (data))
}

//操作记录
export const Actionlogs = (params) => {
    return request.get("/api/users/action_logs", {params})
}
